import request from '@/utils/request';

//查询资讯列表数据
export function listData(query) {
	return request({
		url: '/admin/article/list_data',
		method: 'get',
		params: query,
	});
}

//查询资讯类型数据
export function classifyData() {
	return request({
		url: '/admin/article/classifyList',
		method: 'get',
	});
}
